remotemanager.dataset.function_generation module¶
- remotemanager.dataset.function_generation.create_run_function(submitter: str, manifest_filename: str, script_run: bool = False, add_docstring: bool = True) str [source]¶
Generates a submission function for submitter
script_run should be used if the target function (or script) does not log its output to the manifest (as is the case with None as the function)
$1 is the runner short_uuid $2 is the path to the jobscript $3 is the path to the error file $4 is the path to the result file
- Parameters:
submitter – submitter to generate for
manifest_filename – path to manifest file
script_run – handle completed and failed status updates in the function
add_docstring – adds docstring to function if True